class FileSqlMap(object):
    # CHECK_USER_NAME = "select user_name from aoa_user where user_id={user_id}"
    # INSERT_ATTACHMENT = "insert into aoa_attachment_list(attachment_name, attachment_path, attachment_shuffix, attachment_size, attachment_type, model, upload_time, user_id) values('{img_name}','{attachment_path}','{attachment_shuffix}',{attachment_size},'{model}',now(),{user_id})"
    # check_img = "select img_path from aoa_user where user_id={user_id}"
    # UPDATE_USER_IMG = "update aoa_user set img_path='{img_name}' where user_id={id}"
    # UPDATE_HUMANRES = "update aoa_humanres set attachments={attachments}"
    # UPDATE_PROCESS_LIST = "update aoa_process_list set pro_file_id={pro_file_id}"
    # UPDATE_NOTE_LIST = "update aoa_note_list set attach_id={attach_id}"
    # INSERT_TRAIN_FILES = "insert into aoa_train_files(file_path, train, file_name, content_type, size) values('{attachment_path}',{id},'{name}','{attachment_type}',{attachment_size})"

    TRAIN = "select * from aoa_train_files where id={attach_id}"
    OTHER = "select * from aoa_attachment_list where attachment_id={attach_id}"